package com.lry.task;

import lombok.Data;

import java.util.List;

@Data
public class Task {

    private List<Integer> list;

    private TaskStrategy taskStrategy;


    public Task(List<Integer> list, TaskStrategy taskStrategy) {
        assert null!=list&& list.size()!=0;
        assert null!=taskStrategy;
        this.list = list;
        this.taskStrategy = taskStrategy;
    }
}
